<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PECL/mysqlnd_ms 1.4 series</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-ms.changes-one-five.html">PECL/mysqlnd_ms 1.5 series</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnd-ms.changes-one-three.html">PECL/mysqlnd_ms 1.3 series</a></div>
 <div class="up"><a href="mysqlnd-ms.changes.html">Change History</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqlnd-ms.changes-one-four" class="section">
  <h2 class="title">PECL/mysqlnd_ms 1.4 series</h2>
  <p class="para">
   1.4.2-stable
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      Release date: 08/2012
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      Motto/theme: Tweaking based on user feedback
     </span>
    </li>
   </ul>
  </p>
  <p class="para">
   1.4.1-beta
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      Release date: 08/2012
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      Motto/theme: Tweaking based on user feedback
     </span>
    </li>
   </ul>
  </p>
  <p class="para">
   Bug fixes
   <ul class="itemizedlist">
    <li class="listitem">
     <p class="para">
      Fixed build with PHP 5.5
     </p>
    </li>
   </ul>
  </p>
  <p class="para">
   1.4.0-alpha
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      Release date: 07/2012
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      Motto/theme: Tweaking based on user feedback
     </span>
    </li>
   </ul>
  </p>
  <p class="para">
   Feature changes
   <ul class="itemizedlist">
    <li class="listitem">
    <p class="para">
      BC break: Renamed plugin configuration setting <em>ini_file</em>
      to <em>config_file</em>. In early versions the plugin configuration
      file used ini style. Back then the configuration setting was named accordingly.
      It has now been renamed to reflect the newer file format and to distinguish it
      from PHP&#039;s own ini file (configuration directives file).
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      Introduced new default charset setting <em>server_charset</em>
      to allow proper escaping before a connection
      is opened. This is most useful when using lazy connections, which are a default.
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      Introduced <em>wait_for_gtid_timeout</em> setting to throttle
      slave reads that need session consistency. If global transaction identifier are
      used and the service level is set to session consistency, the plugin
      tries to find up-to-date slaves. The slave status check is done by
      a SQL statement. If nothing else is set, the slave status is checked only
      one can the search for more up-to-date slaves continues immediately
      thereafter. Setting <em>wait_for_gtid_timeout</em> instructs the plugin
      to poll a slaves status for <em>wait_for_gtid_timeout</em> seconds
      if the first execution of the SQL statement has shown that the slave is not
      up-to-date yet. The poll will be done once per second. This way, the plugin
      will wait for slaves to catch up and throttle the client.
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      New failover strategy <em>loop_before_master</em>.
      By default the plugin does no failover. It is possible to enable
      automatic failover if a connection attempt fails. Upto version 1.3
      only <em>master</em> strategy existed to failover to a master if
      a slave connection fails. <em>loop_before_master</em> is
      similar but tries all other slaves before attempting to connect to the master
      if a slave connection fails.
     </p>
     <p class="para">
      The number of attempts can be limited using the <em>max_retries</em> option.
      Failed hosts can be remembered and skipped in load balancing for the rest of
      the web request. <em>max_retries</em> and
      <em>remember_failed</em> are considered experimental although
      decent stability is given. Syntax and semantics may change in the future
      without prior notice.
     </p>
    </li>
   </ul>
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-ms.changes-one-five.html">PECL/mysqlnd_ms 1.5 series</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnd-ms.changes-one-three.html">PECL/mysqlnd_ms 1.3 series</a></div>
 <div class="up"><a href="mysqlnd-ms.changes.html">Change History</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
